package cn.newhopedairy.order.infrastructure.db.po;

import com.baomidou.mybatisplus.annotation.TableName;
import cn.newhopedairy.common.po.SuperPo;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 配送计划
 *
 * @author Neo.Li
 * @since 2021-01-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("delivery_plan")
@ApiModel(value="DeliveryPlanPo对象", description="配送计划")
public class DeliveryPlanPo extends SuperPo {


    @ApiModelProperty(value = "主订单ID")
    @TableField("main_order_id")
    private Long mainOrderId;

    @ApiModelProperty(value = "配送计划JSON")
    @TableField("plan")
    private String plan;


}
